#include<iostream>
#include<map>
#include<string>
using namespace std;

int main()
{
	map<char, int> cnt;
	string s = "abcaadbeec";
	for (auto e : s)
	{
		cnt[e]++;
	}
	cout << "a:" << cnt['a'] << endl;
	cout << "b:" << cnt['b'] << endl;
	cout << "c:" << cnt['c'] << endl;
	cout << "d:" << cnt['d'] << endl;
	cout << "e:" << cnt['e'] << endl;
	return 0;
}